home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20010921-20020314
/
000097_fdc@watsun.cc.columbia.edu_Mon Oct 29 18:26:56 EST 2001.msg
< prev
next >
Wrap
Text File
|
2002-03-13
|
2KB
|
57 lines
Article: 12914 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: auto-ftp login
Date: 29 Oct 2001 23:27:34 GMT
Organization: Columbia University
Lines: 40
Message-ID: <9rkol6$6v3$1@newsmaster.cc.columbia.edu>
References: <9rk8ql$c6h$1@samba.rahul.net> <9rkcqn$cuf$1@samba.rahul.net> <9rkfpe$eg$1@newsmaster.cc.columbia.edu> <9rkml6$eok$1@samba.rahul.net>
NNTP-Posting-Host: watsun.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1004398054 7139 128.59.39.2 (29 Oct 2001 23:27:34 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 29 Oct 2001 23:27:34 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:12914
In article <9rkml6$eok$1@samba.rahul.net>, <dold@46.usenet.us.com> wrote:
: Frank da Cruz <fdc@watsun.cc.columbia.edu> wrote:
: : In article <9rkcqn$cuf$1@samba.rahul.net>, <dold@46.usenet.us.com> wrote:
: : : ...
: : : That didn't seem to work very well:
: : : [C:\K95\] K-95> ftp
: : : ?ftp what? "help ftp" for hints
: : : [C:\K95\] K-95>
: : :
: : The new FTP client is explained here:
: : http://www.columbia.edu/kermit/ftpclient.html
: : and in complete detail here:
: : http://www.columbia.edu/kermit/ckermit3.html#x3
:
: I read those. That leaves me without the earlier method of being able to
: start an ftp session using the current hostname as a default.
: Jeff indicates that it is available.
:
: I can do a macro to strip off the :telnet from \v(line) and use that, but
: it used to be possible to invoke ftp without specifying a hostname.
:
Maybe we can make FTP OPEN default to the current SET HOST hostname.
In the meantime, you can do it with something like this:
define myftp {
if defined \%1 {
if defined \%2 {
ftp open \%1 /user:\%2
} else {
ftp open \%1 /user:\v(user)
}
} else {
if not local end 1 Sorry - no current connection.
if not \findex(telnet,\v(line)) end 1 No active Telnet connection.
ftp open \fstripx(\v(line),:)
}
}
- Frank